package com.case1.tlias.service.impl;

import com.case1.tlias.Pojo.Face;
import com.case1.tlias.mapper.FaceMapper;
import com.case1.tlias.service.FaceService;
import org.springframework.beans.factory.annotation.Autowired;

public class FaceServiceImpl implements FaceService {
    @Autowired
    FaceMapper faceMapper;
    @Override
    public String seFace(Face face) {
        if(faceMapper.check()!=null){
            return "Success!";
        }
        return "false";
    }

    @Override
    public void add(Face face) {
        faceMapper.add(face);
    }
}
